Repository navigation
fix(pm-console): what an end-to-end audit of the app and site found - #12946
Merged
Merged
Conversation
Every screen was run through the axe accessibility rules in a phone-sized Chrome, in both themes; the live site's public surface, its headers and its install files were read; forged writes were tried; the files' caching was looked at in the real Worker runtime. Readable in daylight (24 rule failures in the light theme, now none in either): - The status colours were made for the dark page and used unchanged on the light one, at 2.2 to 3.4 to 1: "Answered", "failed", the amber notes and the count on a tab were too faint to read. The light theme has its own, at 5 to 1 or better; the tab's count is white on a red that carries it in both themes. - A link in running text was told from the text by colour alone, and the two colours are close. Such links are underlined. - A card's title came straight after the screen's title as a third-level heading on screens with no sections; it is now announced as second-level there. The app is no longer downloaded on every visit: - Its files were sent "no-cache" with nothing to revalidate against, so each load fetched all of them again. The edge now passes on the tag the platform's file store gives each file and answers a browser that names it with 304; the host tags its files by content and does the same. They are still asked for every time, so a deploy shows at once. Checked in the Worker runtime itself, and by the deploy's own run of the bundle there from now on. Smaller things: - /console/health says which release of the Android app the edge knows of (the release is public), so its arrival is checked from outside, as the copy of the laptop's build already was. - The install manifest names its id; the page links the iOS home-screen icon the edge already served; responses carry Strict-Transport-Security. Found sound and left alone: nothing but the manifest, the asset links and the icons answers without sign-in; a write forged from another site is refused three ways; the asset links name the certificate the released APK is signed with. Ten planted faults in the new code are each caught. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What an end-to-end audit of the app and site found, and the fixes.
How it was audited
Found and fixed
Hard to read in daylight (24 rule failures in the light theme; now 0 in both themes):
The app was downloaded again on every visit. Its files were sent
no-cachewith nothing to revalidate against. The edge now passes on the tag the platform's file store gives each file and answers a browser that names it with 304; the host tags its files by content and does the same. They are still asked for every time, so a deploy shows at once. Seen in the Worker runtime itself, and the deploy's own run of the bundle there now checks it each time.Smaller:
/console/healthsays which release of the Android app the edge knows of (so its arrival is checked from outside); the install manifest names itsid; the page links the iOS home-screen icon the edge already served; responses carryStrict-Transport-Security.Found sound and left alone
Checked
bun test194 pass; ten planted faults in the new code each caught; all 14 screens load clean; the real-runtime smoke passes with its two new checks.Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.